1f9da6f1a181c82f61634cf996479da7b198f16f,plugins/github/src/org/jetbrains/plugins/github/GithubUtil.java,GithubUtil,checkCredentials,#Project#String#String#String#,226

Before Change


    if (StringUtil.isEmptyOrSpaces(url) || StringUtil.isEmptyOrSpaces(login) || StringUtil.isEmptyOrSpaces(password)){
      return false;
    }
    return accessToGithubWithModalProgress(project, new ThrowableComputable<Boolean, IOException>() {
      @Override
      public Boolean compute() throws IOException {
        ProgressManager.getInstance().getProgressIndicator().setText("Trying to login to GitHub");
        return testConnection(url, login, password);
      }
    });
  }

  /**

After Change


    if (StringUtil.isEmptyOrSpaces(url) || StringUtil.isEmptyOrSpaces(login) || StringUtil.isEmptyOrSpaces(password)){
      return false;
    }
    Boolean result = accessToGithubWithModalProgress(project, url, new ThrowableComputable<Boolean, IOException>() {
      @Override
      public Boolean compute() throws IOException {
        ProgressManager.getInstance().getProgressIndicator().setText("Trying to login to GitHub");
        return testConnection(url, login, password);
      }
    });
    return result == null ? false : result;
  }

  /**